package com.hsu.common.swagger;

import io.swagger.v3.oas.models.OpenAPI;
import io.swagger.v3.oas.models.info.Info;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Author Hsu琛君珩
 * @Date 2025-03-19 20:57
 * @Description
 * @Version: v1.0.0
 */
@Configuration
public class SwaggerConfig {

    @Bean
    public OpenAPI openAPI() {
        return new OpenAPI()
                .info(new Info()
                        .title("在线OJ系统")
                        .description("在线OJ系统接⼝⽂档")
                        .version("v1"));
    }

}
